//
//  BSUserSGton.h
//  SuoSiApp
//
//  Created by zhang on 16/4/27.
//  Copyright © 2016年 Ym. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BSUserSGton : NSObject

@property (nonatomic, strong) NSString *user_id;
@property (nonatomic, strong) NSString *user_token;
@property (nonatomic, strong) NSString *user_loginName;
@property (nonatomic, assign) BOOL isLogin;
@property (nonatomic, strong) NSString *verifiPhoneNum;

//上传数据的网路选择
@property (nonatomic, assign) BOOL isOnlyWifi;
// 设备识别码
@property (nonatomic, strong) NSString *DeviceID;
//手机内存
@property (nonatomic, assign) CGFloat memoryValue;

//蓝牙识别码
@property (nonatomic, strong) NSString *identifire;
// 网络状态
@property (nonatomic, strong) NSString *netstatus;
//真实姓名
@property (nonatomic, strong) NSString *realName;

+ (BSUserSGton *)userHandle;

//蓝牙里面的东西太多 在这里面写点东西

+ (NSArray *)getECGDataFileListFromPath:(NSString *)path;


//获取 设备内存的  根据设备的内存 判断离线数据如何保存
+ (CGFloat ) freeDiskSpaceInBytes;
- (double)availableMemory;
- (double)usedMemory;

@end
